<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
<script>
    console.log([...[1, , 3, , 5]].map((a, n) => n));
</script>
</body>
</html>